package com.xc.mapper;


import com.xc.model.entity.UserEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//@Mapper
public interface CompanyMapper {
    Object getCompanyModel();
    @Insert("insert into user(username,password) values(#{username},#{password})")
    int save(UserEntity userEntity);

    @Select("select * from user")
    List<UserEntity>  getList(UserEntity userEntity);
}
